package com.neusoft.yuejian12.yuejian_12.service;

import com.neusoft.yuejian12.yuejian_12.javabean.UserBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by ZTY on 2017/9/26.
 */

public interface UserService {

    @GET("userLogin.do")
    Call<UserBean> getUserLogin(@Query("username") String username,
                                @Query("userpass") String userpass);

    @GET("userRegister.do")
    Call<UserBean> getUserRegister(@Query("username") String username,
                                   @Query("userpass") String userpass,
                                   @Query("mobilenum") String usertel,
                                   @Query("address") String address);
}

